<?php
include("../include/basedao.php");
 

 	$conds = new Conditions();
 	$and1 = $conds->and( );
// 	$and1 =  new LogicExpress("and"); // $conds->and1();
// 	
	// print( "type of and1 " . get_class($and1) . "<br/>\n"  );
 // 	var_dump($and1);


 	$and1->eq( "name" , 'test1');
 	$and1->add('age', ">" , 12);

 	$or = $and1->or();
 	$or->eq("name1", "test2");
 	$or->eq("name1", "test3");

 	print("<br/>\n");
 	print($and1->sql());
 
?>
